import pandas as pd
for i in range(5):
    data = pd.read_csv('ratings.csv', delimiter='\s+')
    train = data.sample(99900)
    test = data.drop(train.index)
    data = train